package com.example.ricebibackend.service;

import com.example.ricebibackend.controller.param.AnalysisParam;
import com.example.ricebibackend.service.dto.AnalysisAskDTO;
import org.springframework.web.multipart.MultipartFile;

/**
 * 分析模块业务层
 * @author ricejson
 */
public interface AnalysisService {
    /**
     * 同步分析
     * @param param
     * @param multipartFile
     * @return
     */

    AnalysisAskDTO analysisAsk(AnalysisParam param, MultipartFile multipartFile);

    /**
     * 异步分析
     * @param param
     * @param file
     * @return
     */
    AnalysisAskDTO analysisAskAsync(AnalysisParam param, MultipartFile file);
}
